package com.hmall.mapper;

import com.hmall.model.MallFreight;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface MallFreightMapper extends MyMapper<MallFreight> {

    MallFreight selectByArea(@Param("area") String area);
    List<MallFreight> findAddr(@Param("province") String province, @Param("city") String city, @Param("district") String district);

    List<MallFreight> selectByDeptId(@Param("dept_id") Integer dept_id);
}